<template>
    <div class="container" :style="{ height: bodyHeight }">
        <router-view />
    </div>
</template>

<script>
    export default{
        data(){
            return {
                bodyHeight: ''
            }
        },
        mounted (){
            this.bodyHeight = `${window.innerHeight}px`
        }
    }
</script>

<style scoped>
    .container{ background: #f6f6f6;}
</style>